<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8" />
<meta name="description" content="对网页的一段概括性描述" />
<meta name="keywords" content="关键字1,关键字2,关键字3..." />
<meta name="renderer" content="webkit">
<title>Hiring-公司登录</title>
<link rel="shortcut icon"
	href="<%=request.getContextPath()%>/static/common/images/favicon.ico" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/static/common/vendor/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/static/company/styles/login.css" />
        <link rel="stylesheet" href="<%=request.getContextPath()%>/static/common/vendor/nice-validator-1.0.7/dist/jquery.validator.css">	
<!--[if lt IE 9]>
	      <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
	      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	    <![endif]-->
</head>
<body>
	<div class="container">
		<c:if test="${! empty param.result }">
			<div class="alert alert-warning alert-dismissible fade in"
				role="alert">
				<button type="button" class="close" data-dismiss="alert">
					<span aria-hidden="true">×</span><span class="sr-only">Close</span>
				</button>
				<strong>用户名或密码错误！</strong>
			</div>
		</c:if>
		<c:if test="${! empty param.sentEmail }">
			<div class="alert alert-warning alert-dismissible fade in" role="alert">
			   <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
			   <strong>邮件已发送到邮箱，请查看！</strong>
			</div>
	 	  </c:if>
		<form class="form-signin" role="form"
			action="<%=request.getContextPath()%>/CompanyServlet?command=goCompanyMain"
			method="post" onsubmit="login()">
			<h2 class="form-signin-heading">企业登录</h2>
			账号:<input type="text" class="form-control"  name="code"  id="loginCode" autofocus="autofocus" data-rule="required;username"/>
			密码:<input type="password" class="form-control" name="password" id="password" data-rule="required;username">
			<!-- btn-block -->
			<a href="<%=request.getContextPath()%>/CommonServlet?command=toForgetPasswordUI&accountType=company"
				 class="pull-right" type="submit">忘记密码?</a>
			<label> <input type="checkbox"> 记住密码</label><br>
			<button class="btn btn-lg btn-primary " type="submit">登录</button>
			<button type="button" class="btn btn-lg btn-default"
				onclick="history.back();">返 回</button>
		</form>
	</div>
	<script >
	
	</script>
	<script
		src="<%=request.getContextPath()%>/static/common/vendor/jquery.min.js"></script>
	<script
		src="<%=request.getContextPath()%>/static/common/vendor/bootstrap/js/bootstrap.min.js"></script>
	<script
		src="<%=request.getContextPath()%>/static/common/vendor/layer/layer.js"></script>
	<script
		src="<%=request.getContextPath()%>/static/common/vendor/nice-validator-1.0.7/dist/jquery.validator.min.js?local=zh-CN"></script>
</body>
</html>
